Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

book: Rename action to correct name #1510

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

Hofer-Julian
Copy link
Collaborator

No description provided.

@Hofer-Julian Hofer-Julian merged commit 1bcb23f into master Oct 11, 2023
4 checks passed
@Hofer-Julian Hofer-Julian deleted the Hofer-Julian/book-aciton-rename branch October 11, 2023 10:19
window.new_collection();
}));
self.add_action(&action_new_list);
let action_new_collection = gio::SimpleAction::new("new-collection", None);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you switch to ActionEntry::builder, you would no longer need the clone! usage here :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you give me an example how I would use that?
I don't get it from the docs alone

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nevermind, found a couple of examples in other apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants